/**
 * Copyright (c) 2011 Nokia Corporation.
 */

#ifndef ACCOUNTITEM_H
#define ACCOUNTITEM_H

// Qt includes
#include <QDeclarativeItem>


namespace Accounts {

// Forward declarations
class Account;
class Manager;


class AccountItem : public QDeclarativeItem
{
    Q_OBJECT

public:
    explicit AccountItem(QDeclarativeItem *parent = 0);
    virtual ~AccountItem();

public slots:
    bool setAccount(const quint32 &id);

private: // Data
    Account *m_account; // Owned
    Manager *m_manager; // Owned
};

} // namespace Accounts


#endif // ACCOUNTITEM_H

// End of file.
